package net.borlis.processor.dao.repository.common;

import net.borlis.processor.dao.entity.common.BaseEntity;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * Created by borlis on 24.12.2014.
 */
public abstract class PersistentRepository<T extends BaseEntity> extends AbstractRepository<T> {

    @PersistenceContext
    private EntityManager em;

    @Override
    public EntityManager getEm() {
        return em;
    }

}
